package com.kailu.servicelist.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.kailu.servicelist.dao.ServiceListDAO;
import com.kailu.servicelist.form.ServiceList;

public class ServiceListServiceImpl implements ServiceListService {
	
	@Autowired
	private ServiceListDAO serviceListDAO;

	@Override
	public void addServiceList(ServiceList serviceList) {
		serviceListDAO.addServiceList(serviceList);
	}

	@Override
	public List<ServiceList> getServiceList() {
		return serviceListDAO.getServiceList();
	}

	@Override
	public void removeServiceList(int Id) {
		serviceListDAO.removeServiceList(Id);
	}

}
